package com.dbzf.service.impl;

import com.dbzf.dao.AdminDao;
import com.dbzf.dao.impl.AdminDaoImpl;
import com.dbzf.entity.Admin;
import com.dbzf.service.AdminService;

public class AdminServiceImpl implements AdminService {
    private AdminDao adminDao = new AdminDaoImpl();
    @Override
    public Admin login(String name) {
        return adminDao.login(name);
    }
}
